<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            margin: 0;
            padding: 0;
        }
        body{
            height: 100vh;
            display: flex;
            justify-content: center;
            align-items: center;
            background-color: black;
        }
        .container{
            width: 800px;
            position: relative;
            overflow: hidden;
        }
        ul{
            width: 800px;
            height: 150px;
            overflow: hidden;
            display: flex;
            position: relative;
        }
        li{
            list-style: none;
            height: 100%;
            padding-right: 20px;
        }
        li img{
            width: 200px;
            height: 150px;
            object-fit: cover;
            object-position: center;
        }
        .btns{
            display: flex;
            justify-content: center;
            padding-top: 50px;
        }
        .btn{
            color: #fff;
            border: 1px solid #ddd;
            padding: 5px 15px;
            margin: 0 15px;
            border-radius: 3px;
            font-size: 14px;
            cursor: pointer;
        }
        .btn:hover{
            background-color: aliceblue;
        }
    </style>
    
</head>
<body>
    <script src="./图片.js"></script>
    <div class="container">
        <ul>
            <li><img src="./图片/微信图片_20220210191414.jpg" alt=""></li>
            <li><img src="./图片/微信图片_20220210191419.jpg" alt=""></li>
            <li><img src="./图片/微信图片_20220702122657.jpg" alt=""></li>
            <li><img src="./头像.jpg" alt=""></li>
        </ul>
        <div class="btns">
            <div class="btn">向左走</div>
            <div class="btn">向右走</div>
        </div>
    </div>
</body>
</html>